home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Graphics / Icons / next-icon@gun.com / Apps / ImagePortfolio / ImagePortfolio.h < prev    next >
Text File  |  1993-06-03  |  2KB  |  64 lines

  1. // -------------------------------------------------------------------------------------
  2. // ImagePortfolio.h
  3. // -------------------------------------------------------------------------------------
  4.  
  5. extern "Objective-C" {
  6. #import <appkit/Application.h>
  7. #import "objectThreadPerform.h"
  8. #import "threadStdio.h"
  9. }
  10.  
  11. // -------------------------------------------------------------------------------------
  12. #define    docEXTENSION        "portfolio"
  13. #define    dotDocEXTENSION        "." docEXTENSION
  14. #define    listALLOC(N)        [[[List alloc] initCount:N] empty]
  15.  
  16. // -------------------------------------------------------------------------------------
  17. @interface ImagePortfolio : Application
  18. {
  19.  
  20.     // application specific vars
  21.     char                *lastPath;                // last saved/openned file path
  22.  
  23.     // info panel version number text field
  24.     id                    versionNum;                // version number
  25.     
  26.     // help
  27.     id                    helpPanel;                // help panel
  28.     id                    helpScroll;                // help scroller
  29.     BOOL                helpIsLoaded;            // help init
  30.  
  31.     // info
  32.     id                    infoPanel;                // info panel
  33.     BOOL                infoIsLoaded;            // info init
  34.     
  35.     //  preferences
  36.     id                    prefPanel;                // preferences panel
  37.     BOOL                prefIsLoaded;            // pref init
  38.   
  39.     // font outlets var ids
  40.     id                    fontName;                // preference: font name
  41.     id                    fontSize;                // preference: font point size
  42.     id                    prefCellWidth;            // preference: cell width
  43.     id                    prefCellHeight;            // preference: cell height
  44.     id                    prefCellRows;            // preference: cell matrix rows
  45.     id                    prefCellColumns;        // preference: cell matrix columns
  46.  
  47.     // real appIcon local window number
  48.     int                    appIconWinNum;            // local(global([appIcon windowNum]))
  49.     
  50. }
  51.   
  52. // -------------------------------------------------------------------------------------
  53. - setLastPath:(char*)path;
  54. - (const char*)lastPath;
  55.  
  56. /* special event handler */
  57. - dispatchEvents;
  58.  
  59. /* button/menu actions */
  60. - showPreferences:sender;
  61. - printKeyWindow:sender;
  62.  
  63. @end
  64.